package com.ctgu.mapper;


import com.ctgu.vo.Course;

import java.util.List;

public interface CourseMapper {
    int deleteByPrimaryKey(String courseId);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(String courseId);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);

    List<Course> selectCourseByStudentId(Integer userId);

    List<Course> selectAllCourse();

    List<Course> getCourseByTeacherId(Integer id);

    List<Course> offerCourse();
}